export default {
  path: "/admin",
  component: () => import("@/layout/adminNew"),
  children: [
    {
      path: "management",
      component: () => import("@/views/admin/management")
    },
    {
      path: "management/prePersonnel",
      component: () => import("@/views/admin/management/prePersonnel")
    },
    {
      path: "management/prePersonnel/todayAdd",
      name: "prePersonnel/todayAdd",
      component: () => import("@/views/admin/management/prePersonnel/todayAdd")
    },
    {
      path: "management/prePersonnel/upload",
      name: "prePersonnel/upload",
      component: () => import("@/views/admin/management/prePersonnel/upload")
    },
    {
      path: "management/account",
      component: () => import("@/views/admin/management/account")
    },
    {
      path: "management/account/upload",
      component: () => import("@/views/admin/management/account/upload")
    },
    // 公司管理
    {
      path: "enterprise",
      component: () => import("@/views/enterprise/index")
    },
    {
      path: "company_management",
      component: () => import("@/views/admin/company/company_management")
    },
    {
      path: "xiaoshouliebiao",
      component: () => import("@/views/admin/xiaoshouguanli/xiaoshouliebiao")
    },
    {
      path: "fanfeiguize",
      component: () => import("@/views/admin/xiaoshouguanli/fanfeiguize")
    },
    {
      path: "kehufuwufeijilu",
      component: () => import("@/views/admin/xiaoshouguanli/kehufuwufeijilu")
    },
    {
      path: "kehufuwufeijilu/upload",
      component: () => import("@/views/admin/xiaoshouguanli/kehufuwufeijilu/upload")
    },
    {
      path: "fanfeijisuan",
      component: () => import("@/views/admin/xiaoshouguanli/fanfeijisuan")
    },
    {
      path: "fanfeigailan",
      component: () => import("@/views/admin/xiaoshouguanli/fanfeigailan")
    },
    {
      path: "productList",
      component: () => import("@/views/admin/chanpinjieshao/index")
    },
    {
      path: "productBanner",
      component: () => import("@/views/admin/chanpinjieshao/config")
    },
    {
      path: "eventHandling",
      component: () => import("@/views/admin/fuwufankui/index")
    },
    {
      path: "zhidugongshi",
      component: () => import("@/views/admin/zhidugongshi/index")
    },
    {
      path: "zhidugongshi/edit",
      component: () => import("@/views/admin/zhidugongshi/edit")
    },
    {
      path: "zhengcesudi",
      component: () => import("@/views/admin/zhengcesudi/index")
    },
    {
      path: "zhengcesudi/edit",
      component: () => import("@/views/admin/zhengcesudi/edit")
    },
    {
      path: "zhengcesudi/detail",
      component: () => import("@/views/admin/zhengcesudi/edit")
    },
    {
      path: "sendSingle",
      component: () => import("@/views/shebao/shebaoPaidan/index")
    },
    {
      path: "supplier/gysManager",
      component: () => import("@/views/admin/supplier/gysManager")
    },
    {
      path: "supplier/gysFieldManager",
      component: () => import("@/views/admin/supplier/gysFieldManager")
    },
    {
      path: "supplier/detail",
      component: () => import("@/views/admin/supplier/detail")
    },
    {
      path: "shebaoUpload",
      component: () => import("@/views/shebao/shebaoPaidan/shebaoUpload")
    },
    {
      path: "preview",
      component: () => import("@/views/shebao/shebaoPaidan/preview")
    },
    {
      path: "shebao-add-list-third",
      component: () => import("@/views/shebao/shebaoPaidan/shebao-add-list-third")
    },
    {
      path: "shebao-detail-less",
      component: () => import("@/views/shebao/shebaoPaidan/shebao-detail-less")
    },
    // 添加公司
    {
      path: "add_company_management",
      component: () => import("@/views/admin/company/add_company_management")
    },

    // 账号管理
    {
      path: "account_management",
      component: () => import("@/views/admin/account/account_management")
    },
    {
      path: "account_management_jf",
      component: () => import("@/views/admin/account/account_management_jf")
    },
    // 添加账号
    {
      path: "add_account_management",
      component: () => import("@/views/admin/account/add_account_management")
    },
    // 角色管理
    {
      path: "role",
      component: () => import("@/views/admin/account/role/rolemanage")
    },
    // 角色配置
    {
      path: "roleconfig",
      hidden: true,
      component: () => import("@/views/admin/account/role/roleconfig"),
      meta: {
        // title: "角色权限",
        icon: "asset"
      }
    },
    // 用工单位
    {
      path: "employment_unit",
      component: () => import("@/views/admin/employment/employment_unit")
    },
    {
      path: "import",
      component: () => import("@/views/admin/employment/import")
    },
    // 添加用工单位
    {
      path: "add_employment_unit",
      component: () => import("@/views/admin/employment/add_employment_unit")
    },
    {
      path: "switch",
      component: () => import("@/views/admin/employment/switch")
    },
    {
      path: "personal_information",
      component: () => import("@/views/admin/personal/personal_information")
    },
    // {
    //   path: "merchant",
    //   component: () => import("@/views/merchant/index")
    // },
    // 合同概览
    {
      path: "overview_contract",
      component: () => import("@/views/contract/ele-contract/overview")
    }
  ]
};
